//
//  TT_AlertManager.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/4.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TT_AlertManager : NSObject

+ (TT_AlertManager *)manager;

//单纯弹窗
- (void)alert:(NSString *)message;

//带完成事件的弹窗
- (void)alert:(NSString *)message doneAction:(void (^)(void))doneAction;

//带取消和确定事件的弹窗
- (void)alert:(NSString *)message cancleBtnTitle:(NSString *)cancleTitle cancleAction:(void (^)(void))cancleAction doneBtnTitle:(NSString *)doneTitle doneAction:(void (^)(void))doneAction;

- (void)alertTitle:(NSString *)title message:(NSString *)message leftBtnTitle:(NSString *)leftTitle leftAction:(void (^)(void))leftAction rightBtnTitle:(NSString *)rightTitle rightAction:(void (^)(void))rightAction cancleAction:(void (^)(void))cancleAction;


@end

NS_ASSUME_NONNULL_END
